package com.atguigu.realtime.gmallpublisher.service;

import com.atguigu.realtime.gmallpublisher.mapper.KeyWordStatsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author lizhenchao@atguigu.cn
 * @Date 2021/3/27 10:36
 */
@Service
public class KeyWordStatsServiceImp implements KeyWordStatsService{
    
    @Autowired
    KeyWordStatsMapper kw;
    @Override
    public List<Map<String, Object>> getKeyWordStats(int date, int limit) {
        return kw.getKeyWordStats(date, limit);
    }
    
}

